<?xml version="1.0" encoding="UTF-8"?>
<ui:composition template="/WEB-INF/templates/default.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:my="http://java.sun.com/jsf/composite/components">
	<ui:define name="content">
	
		
		<rich:dataGrid value="#{teachersBrowser.teachers}"  var="_row" columns="1" style="width:100%;">
		<div class="teacherListRow"> 
			<h:panelGrid columns="1">
			
			<div class="blueHeader">#{_row.name} #{_row.surname}</div>
			<h:outputText value="Województwo: " />
			<h:outputText value="Wiek: #{_row.age}" />	
			
			</h:panelGrid>
			
			
		
		</div>
		
		
		</rich:dataGrid>
		
		
	</ui:define>
</ui:composition>